package com.zzyl.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
public class NursingLevelVo {

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "等级名称")
    private String name;

    @ApiModelProperty(value = "护理计划ID")
    @JsonProperty("planId")
    private Integer lplanId;

    @ApiModelProperty(value = "护理费用")
    private BigDecimal fee;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）")
    private Integer status;

    @ApiModelProperty(value = "等级说明")
    private String description;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人id")
    private Long createBy;

    @ApiModelProperty(value = "更新人id")
    private Long updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "护理计划名称")
    private String planName;

//    public NursingLevelVo(Integer id, String name, Integer lplanId, BigDecimal fee, Integer status, String description, LocalDateTime createTime, Long createBy, Long updateBy, String remark, LocalDateTime updateTime, String planName) {
//        this.id = id;
//        this.name = name;
//        this.lplanId = lplanId;
//        this.fee = fee;
//        this.status = status;
//        this.description = description;
//        this.createTime = createTime;
//        this.createBy = createBy;
//        this.updateBy = updateBy;
//        this.remark = remark;
//        this.updateTime = updateTime;
//        this.planName = planName;
//    }
}
